package com.exam.api.modules.system.dto;

import com.exam.api.common.dto.BaseScopeDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Set;

/**
 * 部门分页DTO
 *
 * @author bcheng
 */
@Schema(description = "部门分页DTO")
@EqualsAndHashCode(callSuper = true)
@Data
public class DeptQueryDTO extends BaseScopeDTO {

    /**
     * 父级部门id
     */
    @Schema(description = "父级部门id")
    private Long parentDeptId;

    /**
     * 部门id
     */
    @Schema(description = "部门id")
    private Set<Long> deptIds;

    /**
     * 关键字
     */
    @Schema(description = "关键字")
    private String keyword;
}
